home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Lib / sunos5 / SUNAUDIODEV.py < prev   
Encoding:
Text File  |  1994-10-09  |  1.0 KB  |  17 lines  |  [TEXT/R*ch]

  1. # Symbolic constants for use with sunaudiodev module
  2. # The names are the same as in audioio.h with the leading AUDIO_
  3. # removed.
  4.  
  5. # Not all values are supported on all releases of SunOS.
  6.  
  7. # Encoding types, for fields i_encoding and o_encoding
  8.  
  9. ENCODING_NONE = 0            # no encoding assigned
  10. ENCODING_ULAW = 1            # u-law encoding
  11. ENCODING_ALAW = 2            # A-law encoding
  12. ENCODING_LINEAR = 3            # Linear PCM encoding
  13.  
  14. # Gain ranges for i_gain, o_gain and monitor_gain
  15.  
  16. MIN_GAIN = 0                # minimum gain value
  17. MAX_GAIN = 255